Generating Random String In PHP Using random_bytes() function. (Cryptographically Secure)

113

<?php 
$n = 20;
$result = bin2hex(random_bytes($n));
echo "Hello from Softhunt.net";

echo $result;
?>

Comments

Submit
0 Comments